package org.restbox.core.service;

import org.restbox.core.entity.User;
import org.springframework.stereotype.Service;

/**
 * User management service
 *
 * @author troig
 */
@Service("userService")
public interface UserService {

   /**
    * Get user by <tt>email</tt>
    *
    * @param mail User email
    * @return User
    */
   public User getUserByMail(String mail);
}
